
from google.appengine.api import users
from layeredcontent.handler.handlers import RequestHandler

# Users

class UserHandler(RequestHandler):
  
  admin_only = False
  
  def get(self):
    
    if self.request.path == '/lc/login':
      self.redirect(users.create_login_url('/'))
    else:
      self.redirect(users.create_logout_url('/'))
